package org.com.platform.core.controller;

import org.com.platform.core.service.UserService;
import org.flowable.ui.modeler.domain.Model;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName UserController
 * @Description TODO
 * @Author SuperMen
 * Date 2019/1/10 11:54
 * @Version 1.0
 **/
@RestController
@RequestMapping(value = "user")
public class UserController {

    @Autowired
    private UserService userService;

    @GetMapping(value = "findById")
    public Model findById(){
        return userService.getModel();
    }




}
